# Contributor: Shyam Sunder <sgsunder1@gmail.com>
# Maintainer: Shyam Sunder <sgsunder1@gmail.com>
pkgname=ctop
pkgver=0.7.3
pkgrel=0
pkgdesc="Top-like interface for container metrics"
url="https://ctop.sh/"
arch="all !mips !mips64" # blocked by docker
license="MIT"
depends="docker"
makedepends="go"
options="!check" # no test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/bcicen/ctop/archive/v$pkgver.tar.gz"

build() {
	make build
}

package() {
	install -Dm755 ctop "$pkgdir"/usr/bin/ctop
}

sha512sums="4f2a44792ab94e4de5dac9c09177e7ce8f4076ae69f1a42bfd5cb7120b10288105ecbbda133da611ab84f03a7c32de74f369135c1d9a2dc83d85b4506ceae878  ctop-0.7.3.tar.gz"
